package com.wj.facedetect.bean.im;

import java.util.List;

/**
 * Created by wujing on 2018/5/10.
 */

public class GetNotifysBean {


    /**
     * data : [{"id":7,"to":994,"from":9,"isGroup":true,"notifyCount":1,"notifyTime":1526030383000,"fromName":"mmmmm","newMsg":{"id":4,"msg":"[992,993,994]","from":993,"to":9,"isGroup":true,"sign":null,"sentTime":1526030398000,"type":2,"otherName":"wujing"}},{"id":5,"to":994,"from":8,"isGroup":true,"notifyCount":1,"notifyTime":1526030325000,"fromName":"xxxxx","newMsg":{"id":3,"msg":"[992,993,994]","from":993,"to":8,"isGroup":true,"sign":null,"sentTime":1526030340000,"type":2,"otherName":"wujing"}},{"id":3,"to":994,"from":7,"isGroup":true,"notifyCount":1,"notifyTime":1525938201000,"fromName":"testbxhxb","newMsg":{"id":2,"msg":"[993,994]","from":992,"to":7,"isGroup":true,"sign":null,"sentTime":1525938201000,"type":2,"otherName":"cc"}},{"id":2,"to":994,"from":6,"isGroup":true,"notifyCount":1,"notifyTime":1525937832000,"fromName":"testggg","newMsg":{"id":1,"msg":"[992,994]","from":993,"to":6,"isGroup":true,"sign":null,"sentTime":1525937832000,"type":2,"otherName":"wujing"}}]
     * errorCode : null
     * errorMessage : null
     * errorSource : null
     * success : true
     */

    private Object errorCode;
    private Object errorMessage;
    private Object errorSource;
    private boolean success;
    private List<DataBean> data;

    public Object getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Object errorCode) {
        this.errorCode = errorCode;
    }

    public Object getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(Object errorMessage) {
        this.errorMessage = errorMessage;
    }

    public Object getErrorSource() {
        return errorSource;
    }

    public void setErrorSource(Object errorSource) {
        this.errorSource = errorSource;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 7
         * to : 994
         * from : 9
         * isGroup : true
         * notifyCount : 1
         * notifyTime : 1526030383000
         * fromName : mmmmm
         * newMsg : {"id":4,"msg":"[992,993,994]","from":993,"to":9,"isGroup":true,"sign":null,"sentTime":1526030398000,"type":2,"otherName":"wujing"}
         */

        private int id;
        private int to;
        private int from;
        private boolean isGroup;
        private int notifyCount;
        private long notifyTime;
        private String fromName;
        private NewMsgBean newMsg;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getTo() {
            return to;
        }

        public void setTo(int to) {
            this.to = to;
        }

        public int getFrom() {
            return from;
        }

        public void setFrom(int from) {
            this.from = from;
        }

        public boolean isIsGroup() {
            return isGroup;
        }

        public void setIsGroup(boolean isGroup) {
            this.isGroup = isGroup;
        }

        public int getNotifyCount() {
            return notifyCount;
        }

        public void setNotifyCount(int notifyCount) {
            this.notifyCount = notifyCount;
        }

        public long getNotifyTime() {
            return notifyTime;
        }

        public void setNotifyTime(long notifyTime) {
            this.notifyTime = notifyTime;
        }

        public String getFromName() {
            return fromName;
        }

        public void setFromName(String fromName) {
            this.fromName = fromName;
        }

        public NewMsgBean getNewMsg() {
            return newMsg;
        }

        public void setNewMsg(NewMsgBean newMsg) {
            this.newMsg = newMsg;
        }

        public static class NewMsgBean {
            /**
             * id : 4
             * msg : [992,993,994]
             * from : 993
             * to : 9
             * isGroup : true
             * sign : null
             * sentTime : 1526030398000
             * type : 2
             * otherName : wujing
             */

            private int id;
            private String msg;
            private int from;
            private int to;
            private boolean isGroup;
            private Object sign;
            private long sentTime;
            private int type;
            private String otherName;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMsg() {
                return msg;
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }

            public int getFrom() {
                return from;
            }

            public void setFrom(int from) {
                this.from = from;
            }

            public int getTo() {
                return to;
            }

            public void setTo(int to) {
                this.to = to;
            }

            public boolean isIsGroup() {
                return isGroup;
            }

            public void setIsGroup(boolean isGroup) {
                this.isGroup = isGroup;
            }

            public Object getSign() {
                return sign;
            }

            public void setSign(Object sign) {
                this.sign = sign;
            }

            public long getSentTime() {
                return sentTime;
            }

            public void setSentTime(long sentTime) {
                this.sentTime = sentTime;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getOtherName() {
                return otherName;
            }

            public void setOtherName(String otherName) {
                this.otherName = otherName;
            }
        }
    }
}
